package com.jobpass.common.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jobpass.common.model.Faculty;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author JobPass
 * @since 2020-07-17
 */
public interface FacultyService extends IService<Faculty> {
    /**
     * 查询所有Faculty
     * @return
     */
    List<Faculty> FindAllFaculty ();

    /**
     * 根据ID查询Faculty
     *
     */
    Faculty FindFacultyById(Long id);

    /**
     * 根据id删除Faculty
     */
    int DeleteFacultyById(Long id);

    /**
     * 根据id修改Faculty Id 和 其他修改项
     */
    int UpdateFacultyById(Faculty faculty);

    /**
     * 添加Faculty
     */
    int SavaFaculty(Faculty faculty);
}
